﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fihishedTimelyQuery.aspx.cs" Inherits="WorkOrder.workBill.fihishedTimelyQuery" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
 Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>已完成工单查询_工单管理支持系统</title>
    <link href="../css/left.css" type="text/css" rel="STYLESHEET" />
    <link href="../css/site2.css" type="text/css" rel="STYLESHEET" />
    <script type="text/javascript" src="../DatePicker/WdatePicker.js" defer="defer"></script>
    <style type="text/css">
        ul
        {
            font-size: 12px;
            margin: 0px; /*ff和ie下表现有差异*/
            padding: 0px 0px 27px 10px; /*27为图片的高度*/
            _padding: 0px 0px 26px 10px; /* ie6 26为图片的高度*/
            list-style: none;
            border-bottom: 1px solid #4F80C8;
        }
        * + html ul
        {
            padding: 0px 0px 26px 10px;
        }
        /* IE7 */
        ul li
        {
            display: inline;
        }
        ul a
        {
            float: left;
            background: url("../images/tabLeft.jpg") no-repeat left top;
            margin-right: 3px;
            padding-left: 7px; /*此值为左边图片的宽度*/
            color: #000000;
            text-align: center;
            text-decoration: none;
        }
        /*ul a{
color:#999999;
}*/
        ul a span
        {
            display: block;
            background: url("../images/tabRight.jpg") no-repeat right top;
            padding: 9px 12px 3px 7px;
        }
        ul #curr a
        {
            background: url("../images/tab2Left.jpg");
            border-bottom: 1px solid #FFFFFF;
        }
        ul #curr a span
        {
            background: url("../images/tab2Right.jpg") no-repeat right top;
        }
        
        a
        {
            blr: expression(this.onFocus=this.blur());
            outline: none;
        }
    </style>
</head>
<body style="margin: 0 0 0 0; background-color: #fff; border-left: solid 1px #54a6e2;">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Button2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblRowCount" />
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="gv">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblRowCount" UpdatePanelHeight="" />
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" UpdatePanelHeight="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Telerik"
        BackgroundPosition="TopLeft">
    </telerik:RadAjaxLoadingPanel>
    <div style="height: 3px;">
    </div>
    <div id="container1">
        <ul>
            <li><a href="timely.aspx"><span>当前售中及时率</span></a></li>
            <li><a href="timelySearch.aspx"><span>售中在线工单查询</span></a></li>
            <li><a href="taskreport.aspx"><span>已完成工单售中及时率</span></a></li>
            <li id="curr"><a href="fihishedTimelyQuery.aspx"><span>已完成工单查询</span></a></li>
        </ul>
        <div id="container1_1">
            <table width="100%" border="0">
                <tr>
                    <td>
                        <div style="border: solid 1px #9fd6ff; background-color: #f0f8ff">
                            <table style="width: 100%">
                                <tr>
                                    <td style="width: 10px;">
                                    </td>
                                    <td>
                                        <table border="0" style="width: 100%">
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    工单号：
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <input type="text" runat="server" id="txtOrderNo" class="TextBox" style="width: 195px" />
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    业务类型：
                                                </td>
                                                <td align="left">
                                                    <asp:DropDownList ID="ddlProduct" runat="server" CssClass="TextBox" Width="100px">
                                                    </asp:DropDownList><asp:DropDownList ID="ddlOrderType" runat="server" CssClass="TextBox" Width="100px">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    工单主题：
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <asp:TextBox ID="txtTitle" runat="server" CssClass="TextBox" Width="195px"></asp:TextBox>
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    区域：
                                                </td>
                                                <td align="left">
                                                    <select id="seleArea" runat="server" style="width: 100px;" class="TextBox" onchange="resetSelectByArray(this.value);">
                                                    </select><select id="seleTown" runat="server" style="width: 100px;" class="TextBox"
                                                        name="seleTown">
                                                        <option value="">-- 请选择 --</option>
                                                    </select>
                                                    <input type="hidden" id="hidTown" runat="server" />
                                                    <script language="javascript">
                                                        var arrZhongqu = new Array(); //2
                                                        arrZhongqu[0] = new Array('大岭山', '大岭山');
                                                        arrZhongqu[1] = new Array('大朗', '大朗');
                                                        arrZhongqu[2] = new Array('黄江', '黄江');
                                                        arrZhongqu[3] = new Array('常平', '常平');
                                                        arrZhongqu[4] = new Array('东坑', '东坑');

                                                        var arrChengqu = new Array(); //1
                                                        arrChengqu[0] = new Array('万江', '万江');
                                                        arrChengqu[1] = new Array('南城', '南城');
                                                        arrChengqu[2] = new Array('东城', '东城');
                                                        arrChengqu[3] = new Array('莞城', '莞城');
                                                        arrChengqu[4] = new Array('松山湖', '松山湖');

                                                        var arrDongqu = new Array(); //3
                                                        arrDongqu[0] = new Array('凤岗', '凤岗');
                                                        arrDongqu[1] = new Array('塘厦', '塘厦');
                                                        arrDongqu[2] = new Array('清溪', '清溪');
                                                        arrDongqu[3] = new Array('谢岗', '谢岗');
                                                        arrDongqu[4] = new Array('樟木头', '樟木头');
                                                        arrDongqu[5] = new Array('桥头', '桥头');

                                                        var arrNanqu = new Array(); //4
                                                        arrNanqu[0] = new Array('虎门', '虎门');
                                                        arrNanqu[1] = new Array('长安', '长安');
                                                        arrNanqu[2] = new Array('沙田', '沙田');

                                                        var arrXiqu = new Array(); //5
                                                        arrXiqu[0] = new Array('中堂', '中堂');
                                                        arrXiqu[1] = new Array('望牛墩', '望牛墩');
                                                        arrXiqu[2] = new Array('麻涌', '麻涌');
                                                        arrXiqu[3] = new Array('高埗', '高埗');
                                                        arrXiqu[4] = new Array('道滘', '道滘');
                                                        arrXiqu[5] = new Array('洪梅', '洪梅');
                                                        arrXiqu[6] = new Array('厚街', '厚街');

                                                        var arrBeiqu = new Array(); //6
                                                        arrBeiqu[0] = new Array('石碣', '石碣');
                                                        arrBeiqu[1] = new Array('石龙', '石龙');
                                                        arrBeiqu[2] = new Array('石排', '石排');
                                                        arrBeiqu[3] = new Array('寮步', '寮步');
                                                        arrBeiqu[4] = new Array('横沥', '横沥');
                                                        arrBeiqu[5] = new Array('茶山', '茶山');
                                                        arrBeiqu[6] = new Array('企石', '企石');

                                                        function resetSelectByArray(sValue) {
                                                            var selectValue = sValue;
                                                            var Obj = document.getElementById("seleTown");
                                                            var arrLen = 0;
                                                            var i = 0;
                                                            var optText;
                                                            var optValue;
                                                            if (selectValue == "城区") {
                                                                arrLen = arrChengqu.length;
                                                                Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrChengqu[i][0];
                                                                    optValue = arrChengqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "中区") {
                                                                arrLen = arrZhongqu.length; Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrZhongqu[i][0];
                                                                    optValue = arrZhongqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "东区") {
                                                                arrLen = arrDongqu.length; Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrDongqu[i][0];
                                                                    optValue = arrDongqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "南区") {
                                                                arrLen = arrNanqu.length; Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrNanqu[i][0];
                                                                    optValue = arrNanqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "西区") {
                                                                arrLen = arrXiqu.length; Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrXiqu[i][0];
                                                                    optValue = arrXiqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "北区") {
                                                                arrLen = arrBeiqu.length; Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                for (i = 0; i < arrLen; i++) {
                                                                    optText = arrBeiqu[i][0];
                                                                    optValue = arrBeiqu[i][1];
                                                                    Obj.options.add(new Option(optText, optText));
                                                                }
                                                            }
                                                            else if (selectValue == "集客") {
                                                                Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                Obj.options.add(new Option('集客', '集客'));
                                                            }
                                                            else if (selectValue == "内部客户") {
                                                                Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                                Obj.options.add(new Option('内部客户', '内部客户'));
                                                            }
                                                            else {
                                                                Obj.options.length = 0;
                                                                Obj.options.add(new Option('-- 请选择 --', ''));
                                                            }
                                                        }
                                                    </script>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    派单时间：
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <input type="text" class="TextBox" id="Text3" style="width: 85px;" runat="server"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />&nbsp;至&nbsp;
                                                    <input type="text" class="TextBox" id="Text4" runat="server" style="width: 85px;"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    完成时间：
                                                </td>
                                                <td align="left">
                                                    <input type="text" class="TextBox" id="Text5" style="width: 85px;" runat="server"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />&nbsp;至&nbsp;
                                                    <input type="text" class="TextBox" id="Text6" runat="server" style="width: 85px;"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    是否超时：
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <input id="Radio1" type="radio" name="rblIsTiemout" value="是" runat="server" /><label
                                                        for="Radio1">是&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <input id="Radio2" type="radio" name="rblIsTiemout" value="否" runat="server" /><label
                                                        for="Radio2">否&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    超时时间：
                                                </td>
                                                <td align="left">
                                                    <input type="text" class="TextBox" id="Text1" style="width: 85px;" runat="server"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />&nbsp;至&nbsp;
                                                    <input type="text" class="TextBox" id="Text2" runat="server" style="width: 85px;"
                                                        onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    工单历时：
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <asp:CheckBox ID="CheckBox4" runat="server" Text="大于" />&nbsp;
                                                    <asp:CheckBox ID="CheckBox5" runat="server" Text="小于" />&nbsp;
                                                    <asp:CheckBox ID="CheckBox6" runat="server" Text="等于" />&nbsp;&nbsp;<asp:TextBox
                                                        ID="TextBox2" runat="server" Width="40px" CssClass="TextBox"></asp:TextBox>天
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    售中在线历时：
                                                </td>
                                                <td align="left">
                                                    <asp:CheckBox ID="CheckBox7" runat="server" Text="大于" />&nbsp;
                                                    <asp:CheckBox ID="CheckBox8" runat="server" Text="小于" />&nbsp;
                                                    <asp:CheckBox ID="CheckBox9" runat="server" Text="等于" />&nbsp;&nbsp;<asp:TextBox
                                                        ID="TextBox3" runat="server" Width="40px" CssClass="TextBox"></asp:TextBox>天
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    
                                                </td>
                                                <td align="left" style="width: 300px;">
                                                    <asp:Button ID="Button2" runat="server" Text="&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;"
                                                        CssClass="Button" OnClick="Button2_Click" />
                                                </td>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    
                                                </td>
                                                <td align="left">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
            <table style="width: 100%">
                <tr>
                    <td>
                        <div style="border: solid 1px #9fd6ff; background-color: #d4f1f9; border-bottom: none;">
                            <table style="width: 100%; font-family: Arial;">
                                <tr>
                                    <td style="height: 20px; width: 220px">
                                        &nbsp;&nbsp;<img alt="" align="absmiddle" src="../images/181.gif" />&nbsp; <strong>查询结果</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;每页显示<asp:TextBox
                                            runat="server" ID="txtRow" Width="30px" CssClass="TextBox"></asp:TextBox>行
                                    </td>
                                    <td>
                                        <asp:Label ID="lblRowCount" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td style="width: 120px; font-family: Arial">
                                        <asp:ImageButton ID="ImageButton1" runat="server" ImageAlign="Middle" ImageUrl="../images/action_save.gif"
                                            OnClick="ImageButton1_Click" />
                                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">导出到excel文件</asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="divgv" style="border: solid 1px #9fd6ff; background-color: #f0f8ff;">
                            <table width="100%">
                                <tr>
                                    <td style="width: 10px;">
                                    </td>
                                    <td>
                                        <div id="gv" runat="server" style="border: solid 1px #9fd6ff; overflow: auto; width: 100%">
                                            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                                                <input type="hidden" runat="server" id="hidRowCount" value="0" />
                                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" CssClass="Table" EmptyDataText="[没有可显示的数据]"
                                                    AutoGenerateColumns="False" Width="1900px" AllowSorting="True" BorderStyle="Solid"
                                                    CellPadding="3" OnRowDataBound="GridView1_RowDataBound" OnPageIndexChanging="GridView1_PageIndexChanging"
                                                    OnRowCommand="GridView1_RowCommand" OnSorting="GridView1_Sorting" PageSize="15">
                                                    <PagerSettings FirstPageText="首页" LastPageText="末页" Mode="NextPreviousFirstLast"
                                                        NextPageText="下一页" PreviousPageText="上一页" />
                                                    <PagerTemplate>
                                                        <asp:Label ID="lblPage" runat="server" Text='<%# "共" + hidRowCount.Value  + "条记录&nbsp;&nbsp;第" + (((GridView)Container.NamingContainer).PageIndex + 1)  + "页/共" + (((GridView)Container.NamingContainer).PageCount) + "页" %> '></asp:Label>
                                                        &nbsp;<asp:LinkButton ID="lbnFirst" runat="Server" Text="首页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>'
                                                            CommandName="Page" CommandArgument="First"></asp:LinkButton>
                                                        &nbsp;<asp:LinkButton ID="lbnPrev" runat="server" Text="上一页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>'
                                                            CommandName="Page" CommandArgument="Prev"></asp:LinkButton>
                                                        &nbsp;<asp:LinkButton ID="lbnNext" runat="Server" Text="下一页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != (((GridView)Container.NamingContainer).PageCount - 1) %>'
                                                            CommandName="Page" CommandArgument="Next"></asp:LinkButton>
                                                        &nbsp;<asp:LinkButton ID="lbnLast" runat="Server" Text="末页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != (((GridView)Container.NamingContainer).PageCount - 1) %>'
                                                            CommandName="Page" CommandArgument="Last"></asp:LinkButton>
                                                        &nbsp;&nbsp;到第&nbsp;<asp:TextBox runat="server" ID="inPageNum" Width="50px" CssClass="TextBox"></asp:TextBox>&nbsp;页
                                                        &nbsp;<asp:Button ID="Button1" CommandName="go" runat="server" Text="GO" CssClass="Button" />
                                                        <br />
                                                    </PagerTemplate>
                                                    <PagerStyle BackColor="#C6E3F2" />
                                                    <HeaderStyle CssClass="gridtitle" />
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="工单号" SortExpression="工单号">
                                                            <ItemStyle HorizontalAlign="Left" Width="220px" />
                                                            <ItemTemplate>
                                                                <a href="#" title="点击查看工单详细信息" onclick="window.open('./showOrder.aspx?id=<%# Eval("order_id") %>','','location=no,menubar=no,status=no,toolbar=no,resizable=yes,scrollbars=yes,width=1050,height=600');">
                                                                    <%# Eval("工单号")%></a>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="工单主题" SortExpression="工单主题">
                                                            <ItemStyle HorizontalAlign="Left" />
                                                            <ItemTemplate>
                                                                <a href="#" title='<%# Eval("工单主题")%>' onclick="window.open('./showOrder.aspx?id=<%# Eval("order_id") %>','','location=no,menubar=no,status=no,toolbar=no,resizable=yes,scrollbars=yes,width=1050,height=600');">
                                                                    <%# Eval("工单主题")%></a>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="是否超时" HeaderText="是否超时" SortExpression="是否超时">
                                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="超时时间" HeaderText="超时时间" SortExpression="超时时间">
                                                            <ItemStyle HorizontalAlign="Left" Width="120px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="超时天数" HeaderText="超时天数" SortExpression="超时天数">
                                                            <ItemStyle HorizontalAlign="Center" Width="80px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="工单历时" HeaderText="工单历时" SortExpression="工单历时">
                                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="售中在线历时" HeaderText="售中在线历时" SortExpression="售中在线历时">
                                                            <ItemStyle HorizontalAlign="Center" Width="80px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="派单时间" HeaderText="派单时间" SortExpression="派单时间">
                                                            <ItemStyle HorizontalAlign="Left" Width="120px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="CRM资源确认时间" HeaderText="CRM资源确认时间" SortExpression="CRM资源确认时间">
                                                            <ItemStyle HorizontalAlign="Left" Width="130px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="完成时间" HeaderText="完成时间" SortExpression="完成时间">
                                                            <ItemStyle HorizontalAlign="Left" Width="120px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="产品类型" HeaderText="产品类型" SortExpression="产品类型">
                                                            <ItemStyle HorizontalAlign="Left" Width="70px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="业务类型" HeaderText="业务类型" SortExpression="业务类型">
                                                            <ItemStyle HorizontalAlign="Left" Width="60px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="区域" HeaderText="区域" SortExpression="区域">
                                                            <ItemStyle HorizontalAlign="Left" Width="60px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="镇区" HeaderText="镇区" SortExpression="镇区">
                                                            <ItemStyle HorizontalAlign="Left" Width="60px" />
                                                        </asp:BoundField>
                                                    </Columns>
                                                    <AlternatingRowStyle BackColor="#f0f8ff" />
                                                </asp:GridView>
                                            </telerik:RadAjaxPanel>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 10px;">
                                        &nbsp;
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <script type="text/javascript">
                            document.getElementById("gv").style.width = document.documentElement.clientWidth - 50;
                            document.getElementById("gv").style.height = document.documentElement.clientHeight - 280;
                        </script>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
